DeviceMetadataOrBuilder

interface DeviceMetadataOrBuilder : MessageOrBuilder

Inheritors

Functions

Link copied to clipboard
abstract fun getCanShutdown(): Boolean

Indicates whether the device can shutdown CPU natively or via power management chip
bool canShutdown = 3;
Link copied to clipboard
abstract fun getDeviceStateVersion(): Int

Device state version
uint32 device_state_version = 2;
Link copied to clipboard
abstract fun getExcludedModules(): Int

Bit field of boolean for excluded modules
(bitwise OR of ExcludedModules)
uint32 excluded_modules = 12;
Link copied to clipboard
abstract fun getFirmwareVersion(): String

Device firmware version string
string firmware_version = 1;
Link copied to clipboard
abstract fun getFirmwareVersionBytes(): ByteString

Device firmware version string
string firmware_version = 1;
Link copied to clipboard
abstract fun getHasBluetooth(): Boolean

Indicates that the device has native bluetooth capability
bool hasBluetooth = 5;
Link copied to clipboard
abstract fun getHasEthernet(): Boolean

Indicates that the device has an ethernet peripheral
bool hasEthernet = 6;
Link copied to clipboard
abstract fun getHasPKC(): Boolean

Has PKC capabilities
bool hasPKC = 11;
Link copied to clipboard

Has Remote Hardware enabled
bool hasRemoteHardware = 10;
Link copied to clipboard
abstract fun getHasWifi(): Boolean

Indicates that the device has native wifi capability
bool hasWifi = 4;
Link copied to clipboard

Device hardware model
.meshtastic.HardwareModel hw_model = 9;
Link copied to clipboard
abstract fun getHwModelValue(): Int

Device hardware model
.meshtastic.HardwareModel hw_model = 9;
Link copied to clipboard
abstract fun getPositionFlags(): Int

Indicates the device's current enabled position flags
uint32 position_flags = 8;
Link copied to clipboard

Indicates that the device's role in the mesh
.meshtastic.Config.DeviceConfig.Role role = 7;
Link copied to clipboard
abstract fun getRoleValue(): Int

Indicates that the device's role in the mesh
.meshtastic.Config.DeviceConfig.Role role = 7;